package com.xyh.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO
 *
 * @author 丁德成
 * @explain
 * @date 2023/4/12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "公共json对象")
public class Result {
    @ApiModelProperty(value = "状态码 200为正常 500为错误")
    private Integer code;//状态码
    @ApiModelProperty(value = "消息内容")
    private String msg;//消息
    @ApiModelProperty(value = "数据")
    private Object data;//数据
}
